package com.gome.spiderkit.client;

public class WebKitProtocol {
	
	// WebKit
	public static int WEBKIT_LONG_CREATE_STRING_USERAGENT = 1;
	public static int WEBKIT_LONG_DESTROY_LONG_REF = 2;
	public static int WEBKIT_LONG_GET_LONG_REF_STRING_URL = 3;
	public static int WEBKIT_BOOL_SETDATABASEENABLED_LONG_REF_BOOL_ENABLE = 4;
	public static int WEBKIT_LONG_SETCOOKIE_LONG_REF_STRING_COOKIES_STRING_URL = 16;
	public static int WEBKIT_LONG_DELETECOOKIE_LONG_REF_STRING_CNAME = 17;
	public static int WEBKIT_STRING_GETSTATEINFO = 58;
	public static int WEBKIT_LONG_CHECK_AVAILABLE = 59;

	// WebPage
	public static int WEBPAGE_STRING_GETTITLE_LONG_REF = 5;
	public static int WEBPAGE_STRING_GETDOMTREEDUMP_LONG_REF = 6;
	public static int WEBPAGE_STRING_GETPAGESOURCE_LONG_REF = 7;
	public static int WEBPAGE_STRING_GETURL_LONG_REF = 8;
	public static int WEBPAGE_BOOL_ISJAVASCRIPTENABLED_LONG_REF = 9;
	public static int WEBPAGE_VOID_SETJAVASCRIPTENABLED_LONG_REF_BOOL_ENABLE = 10;
	public static int WEBPAGE_OBJECT_EVALUATEJS_OBJECT_DRIVER_LONG_REF_OBJECTARRAY_ARGUMENTS = 11;
	public static int WEBPAGE_LONG_GETELEMENTBYID_LONG_REF_STRING_QUERY = 12;
	public static int WEBPAGE_LONG_SETCOOKIE_LONG_REF_STRING_COOKIES = 13;
	public static int WEBPAGE_STRING_COOKIES_LONG_REF = 14;
	public static int WEBPAGE_VOID_SETFILTERRULE_STRING_RULES = 15;
	public static int WEBPAGE_LONG_GETELEMENTSBYTAGNAME_LONG_REF_STRING_QUERY = 18;
	public static int WEBPAGE_LONG_GETELEMENTSBYNAME_LONG_REF_STRING_QUERY = 19;
	public static int WEBPAGE_LONG_GETELEMENTSBYXPATH_LONG_REF_STRING_QUERY = 20;
	public static int WEBPAGE_LONG_GETELEMENTBYCSSSELECTOR_LONG_REF_STRING_QUERY = 21;
	public static int WEBPAGE_LONG_GETELEMENTSBYCSSSELECTOR_LONG_REF_STRING_QUERY = 22;
	public static int WEBPAGE_VOID_GOBACK_LONG_REF = 30;
	public static int WEBPAGE_VOID_GOFORWARD_LONG_REF = 31;
	public static int WEBPAGE_LONG_REFRESH_LONG_REF = 32;
	public static int WEBPAGE_LONG_ACTIVEELEMENT = 42;
	public static int WEBPAGE_LONG_SELECTFRAMEBYNAME_STRING_NAME = 43;
	public static int WEBPAGE_LONG_SELECTFRAMEBYIDX_LONG_IDX = 44;
	public static int WEBPAGE_STRING_GETALERTTEXT_LONG_REF_BOOL_CLR = 48;
	public static int WEBPAGE_VOID_SETVIEWPORTSIZE_INT_W_INT_H = 51;
	public static int WEBPAGE_VOID_LOADURL_LONG_REF_STRING_ADDRESS_STRING_OPERATION_QMAP_STRING_STRING_HEADERS_STRING_BODYSTRING_STRING_ENCODING = 55;
	public static int WEBPAGE_VOID_SETHTML_LONG_REF_STRING_HTML = 56;
	public static int WEBPAGE_VOID_SETSETTING_LONG_REF_STRING_NAME_STRING_SETTING = 57;
	public static int WEBPAGE_STRING_RENDER_IMAGE_BASE64 = 60;
	public static int WEBPAGE_LONG_SET_DESTROY_TIME = 61;
	public static int WEBPAGE_VOID_SCROLL = 62;
	public static int WEBPAGE_STRING_GETDOMTREESOURCE_LONG_REF = 66;
	public static int WEBPAGE_STRING_POSTDATA_LONG_REF = 67;
	public static int WEBPAGE_STRING_METHOD_LONG_REF = 68;
	public static int WEBPAGE_LONG_DOWNLOAD_LONG_REF = 69;

	// Element
	public static int WEBELEMENT_STRING_GETTAGNAME_LONG_REF = 23;
	public static int WEBELEMENT_STRING_GETATTRIBUTE_LONG_REF_STRING_NAME = 24;
	public static int WEBELEMENT_STRING_GETPROPERTY_LONG_REF_STRING_NAME = 25;
	public static int WEBELEMENT_STRING_GETTEXT_LONG_REF = 26;
	public static int WEBELEMENT_STRING_GETVALUE_LONG_REF = 27;
	public static int WEBELEMENT_LONG_SENDKEYS_LONG_REF_STRING_TYPE_LONG_KEYS = 28;
	public static int WEBELEMENT_LONG_SETVALUE_LONG_REF_STRING_VAL = 29;
	public static int WEBELEMENT_LONG_SUBMIT_LONG_REF = 33;
	public static int WEBELEMENT_LONG_CLICK_LONG_REF = 34;
	public static int WEBELEMENT_LONG_RESET_LONG_REF = 35;
	public static int WEBELEMENT_LONG_TOGGLE_LONG_REF = 36;
	public static int WEBELEMENT_LONG_FOCUS_LONG_REF = 37;
	public static int WEBELEMENT_LONG_SELECTED_LONG_REF = 38;
	public static int WEBELEMENT_LONG_SETSELECTED_LONG_REF = 39;
	public static int WEBELEMENT_LONG_OPTIONINDEX_LONG_REF = 40;
	public static int WEBELEMENT_LONG_STALE_LONG_REF = 41;
	public static int WEBELEMENT_BOOL_ISVISIBLE_LONG_REF = 45;
	public static int WEBELEMENT_LONG_DRAG_LONG_REF_INT_TOX_INT_TOY_INT_DURATION = 46;
	public static int WEBELEMENT_RECT_GETRECT_LONG_REF = 47;
	public static int WEBELEMENT_STRING_GETINNERXML_LONG_REF = 49;
	public static int WEBELEMENT_STRING_GETOUTERXML_LONG_REF = 50;
	public static int WEBELEMENT_LONG_TYPE_LONG_REF_STRING_VAL = 52;
	public static int WEBELEMENT_LONG_CHECKED_LONG_REF = 53;
	public static int WEBELEMENT_LONG_SETCHECKED_LONG_REF = 54;
	public static int WEBELEMENT_VOID_SETATTRIBUTE = 63;
	public static int WEBELEMENT_VOID_REMOVEATTRIBUTE = 64;
	public static int WEBELEMENT_VOID_GETCHILDSBYCSSSELECTOR = 65;

}
